﻿using System.Data.Services;

namespace AstoriaPlus
{
	public class DataServiceQueryContext<TDataService, TDataSource>
		where TDataService : DataService<TDataSource>
		where TDataSource : class
	{
		public DataServiceQueryContext(TDataService service, TDataSource dataSource)
		{
			this.Service = service;
			this.DataSource = dataSource;
		}

		public TDataService Service { get; private set; }

		public TDataSource DataSource { get; private set; }
	}
}
